package com.example.demo.utils;


import cn.hutool.cache.CacheUtil;
import cn.hutool.cache.impl.FIFOCache;
import cn.hutool.cache.impl.TimedCache;

public class GitTest2 {

    public static void main(String[] args) {
        FIFOCache<Object, Object> objects = CacheUtil.newFIFOCache(6);
        TimedCache<Object, Object> objects1 = CacheUtil.newTimedCache(1000);
        objects1.schedulePrune(5);

    }
}
